package com.mangohouse.service.core;

import java.util.List;
import java.util.Map;

import com.mangohouse.model.core.SysUser;
import com.mangohouse.service.ServiceException;

/**
 * 
 * @TODO 用户业务层接口
 * @author roye
 * @date May 17, 2013 2:49:36 PM
 * @version V1.0
 */
public interface ISysUserService {
	
	
	/**
	 * @todo  登录查询用户
	 * @author roye
	 * @date Apr 17, 2013 4:48:04 PM
	 * @param   
	 * @return SysUser   
	 * @throws
	 */
	public SysUser getSysUser(String username,String pwd)throws ServiceException;
	
	
	/**
	 * 
	 * @todo 查询所有用户信息
	 * @author roye
	 * @date May 10, 2013 7:56:01 PM
	 * @param   map 查询条件
	 * @return List<SysUser>   
	 * @throws
	 */
	public List<SysUser> querySysUserList(Map map)throws ServiceException;
	
	
	/**
	 * 
	 * @todo 查询用户总数
	 * @author roye
	 * @date May 10, 2013 7:59:26 PM
	 * @param   map 查询条件
	 * @return int   
	 * @throws
	 */
	public int querySysUserCount(Map map)throws ServiceException;

}
